package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.ManagerPageConstant;

import java.util.*;
public class ManagerPageConstantExample extends SgExample<ManagerPageConstantExample.Criteria> {
    public static final Class<ManagerPageConstant> beanClass = ManagerPageConstant.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn constantId;
    public static EntityColumn fieldName;
    public static EntityColumn pageUri;
    public static EntityColumn fieldTitle;
    public static EntityColumn fieldValue;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        constantId = listMap.get("constantId");
        fieldName = listMap.get("fieldName");
        pageUri = listMap.get("pageUri");
        fieldTitle = listMap.get("fieldTitle");
        fieldValue = listMap.get("fieldValue");
        }

    public ManagerPageConstantExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected ManagerPageConstantExample.Criteria createCriteriaInternal() {
        return new ManagerPageConstantExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public ManagerPageConstantExample.Criteria andConstantIdIsNull() {
            return isNull(constantId);
        }

        public ManagerPageConstantExample.Criteria andConstantIdIsNotNull() {
            return isNotNull(constantId);
        }

        public ManagerPageConstantExample.Criteria andConstantIdEqualTo(Long value) {
            return equalTo(constantId, value);
        }

        public ManagerPageConstantExample.Criteria andConstantIdNotEqualTo(Long value) {
            return notEqualTo(constantId, value);
        }

        public ManagerPageConstantExample.Criteria andConstantIdGreaterThan(Long value) {
            return greaterThan(constantId, value);
        }

        public ManagerPageConstantExample.Criteria andConstantIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(constantId, value);
        }

        public ManagerPageConstantExample.Criteria andConstantIdLessThan(Long value) {
            return lessThan(constantId, value);
        }

        public ManagerPageConstantExample.Criteria andConstantIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(constantId, value);
        }

        public ManagerPageConstantExample.Criteria andConstantIdIn(List<Long> values) {
            return in(constantId, values);
        }

        public ManagerPageConstantExample.Criteria andConstantIdNotIn(List<Long> values) {
            return notIn(constantId, values);
        }

        public ManagerPageConstantExample.Criteria andConstantIdBetween(Long value1, Long value2) {
            return between(constantId, value1, value2);
        }

        public ManagerPageConstantExample.Criteria andConstantIdNotBetween(Long value1, Long value2) {
            return notBetween(constantId, value1, value2);
        }
        public ManagerPageConstantExample.Criteria andFieldNameIsNull() {
            return isNull(fieldName);
        }

        public ManagerPageConstantExample.Criteria andFieldNameIsNotNull() {
            return isNotNull(fieldName);
        }

        public ManagerPageConstantExample.Criteria andFieldNameEqualTo(String value) {
            return equalTo(fieldName, value);
        }

        public ManagerPageConstantExample.Criteria andFieldNameNotEqualTo(String value) {
            return notEqualTo(fieldName, value);
        }

        public ManagerPageConstantExample.Criteria andFieldNameGreaterThan(String value) {
            return greaterThan(fieldName, value);
        }

        public ManagerPageConstantExample.Criteria andFieldNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(fieldName, value);
        }

        public ManagerPageConstantExample.Criteria andFieldNameLessThan(String value) {
            return lessThan(fieldName, value);
        }

        public ManagerPageConstantExample.Criteria andFieldNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(fieldName, value);
        }

        public ManagerPageConstantExample.Criteria andFieldNameLike(String value) {
            return like(fieldName, value);
        }

        public ManagerPageConstantExample.Criteria andFieldNameNotLike(String value) {
            return notLike(fieldName, value);
        }

        public ManagerPageConstantExample.Criteria andFieldNameIn(List<String> values) {
            return in(fieldName, values);
        }

        public ManagerPageConstantExample.Criteria andFieldNameNotIn(List<String> values) {
            return notIn(fieldName, values);
        }

        public ManagerPageConstantExample.Criteria andFieldNameBetween(String value1, String value2) {
            return between(fieldName, value1, value2);
        }

        public ManagerPageConstantExample.Criteria andFieldNameNotBetween(String value1, String value2) {
            return notBetween(fieldName, value1, value2);
        }
        public ManagerPageConstantExample.Criteria andPageUriIsNull() {
            return isNull(pageUri);
        }

        public ManagerPageConstantExample.Criteria andPageUriIsNotNull() {
            return isNotNull(pageUri);
        }

        public ManagerPageConstantExample.Criteria andPageUriEqualTo(String value) {
            return equalTo(pageUri, value);
        }

        public ManagerPageConstantExample.Criteria andPageUriNotEqualTo(String value) {
            return notEqualTo(pageUri, value);
        }

        public ManagerPageConstantExample.Criteria andPageUriGreaterThan(String value) {
            return greaterThan(pageUri, value);
        }

        public ManagerPageConstantExample.Criteria andPageUriGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(pageUri, value);
        }

        public ManagerPageConstantExample.Criteria andPageUriLessThan(String value) {
            return lessThan(pageUri, value);
        }

        public ManagerPageConstantExample.Criteria andPageUriLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(pageUri, value);
        }

        public ManagerPageConstantExample.Criteria andPageUriLike(String value) {
            return like(pageUri, value);
        }

        public ManagerPageConstantExample.Criteria andPageUriNotLike(String value) {
            return notLike(pageUri, value);
        }

        public ManagerPageConstantExample.Criteria andPageUriIn(List<String> values) {
            return in(pageUri, values);
        }

        public ManagerPageConstantExample.Criteria andPageUriNotIn(List<String> values) {
            return notIn(pageUri, values);
        }

        public ManagerPageConstantExample.Criteria andPageUriBetween(String value1, String value2) {
            return between(pageUri, value1, value2);
        }

        public ManagerPageConstantExample.Criteria andPageUriNotBetween(String value1, String value2) {
            return notBetween(pageUri, value1, value2);
        }
        public ManagerPageConstantExample.Criteria andFieldTitleIsNull() {
            return isNull(fieldTitle);
        }

        public ManagerPageConstantExample.Criteria andFieldTitleIsNotNull() {
            return isNotNull(fieldTitle);
        }

        public ManagerPageConstantExample.Criteria andFieldTitleEqualTo(String value) {
            return equalTo(fieldTitle, value);
        }

        public ManagerPageConstantExample.Criteria andFieldTitleNotEqualTo(String value) {
            return notEqualTo(fieldTitle, value);
        }

        public ManagerPageConstantExample.Criteria andFieldTitleGreaterThan(String value) {
            return greaterThan(fieldTitle, value);
        }

        public ManagerPageConstantExample.Criteria andFieldTitleGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(fieldTitle, value);
        }

        public ManagerPageConstantExample.Criteria andFieldTitleLessThan(String value) {
            return lessThan(fieldTitle, value);
        }

        public ManagerPageConstantExample.Criteria andFieldTitleLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(fieldTitle, value);
        }

        public ManagerPageConstantExample.Criteria andFieldTitleLike(String value) {
            return like(fieldTitle, value);
        }

        public ManagerPageConstantExample.Criteria andFieldTitleNotLike(String value) {
            return notLike(fieldTitle, value);
        }

        public ManagerPageConstantExample.Criteria andFieldTitleIn(List<String> values) {
            return in(fieldTitle, values);
        }

        public ManagerPageConstantExample.Criteria andFieldTitleNotIn(List<String> values) {
            return notIn(fieldTitle, values);
        }

        public ManagerPageConstantExample.Criteria andFieldTitleBetween(String value1, String value2) {
            return between(fieldTitle, value1, value2);
        }

        public ManagerPageConstantExample.Criteria andFieldTitleNotBetween(String value1, String value2) {
            return notBetween(fieldTitle, value1, value2);
        }
        public ManagerPageConstantExample.Criteria andFieldValueIsNull() {
            return isNull(fieldValue);
        }

        public ManagerPageConstantExample.Criteria andFieldValueIsNotNull() {
            return isNotNull(fieldValue);
        }

        public ManagerPageConstantExample.Criteria andFieldValueEqualTo(String value) {
            return equalTo(fieldValue, value);
        }

        public ManagerPageConstantExample.Criteria andFieldValueNotEqualTo(String value) {
            return notEqualTo(fieldValue, value);
        }

        public ManagerPageConstantExample.Criteria andFieldValueGreaterThan(String value) {
            return greaterThan(fieldValue, value);
        }

        public ManagerPageConstantExample.Criteria andFieldValueGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(fieldValue, value);
        }

        public ManagerPageConstantExample.Criteria andFieldValueLessThan(String value) {
            return lessThan(fieldValue, value);
        }

        public ManagerPageConstantExample.Criteria andFieldValueLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(fieldValue, value);
        }

        public ManagerPageConstantExample.Criteria andFieldValueLike(String value) {
            return like(fieldValue, value);
        }

        public ManagerPageConstantExample.Criteria andFieldValueNotLike(String value) {
            return notLike(fieldValue, value);
        }

        public ManagerPageConstantExample.Criteria andFieldValueIn(List<String> values) {
            return in(fieldValue, values);
        }

        public ManagerPageConstantExample.Criteria andFieldValueNotIn(List<String> values) {
            return notIn(fieldValue, values);
        }

        public ManagerPageConstantExample.Criteria andFieldValueBetween(String value1, String value2) {
            return between(fieldValue, value1, value2);
        }

        public ManagerPageConstantExample.Criteria andFieldValueNotBetween(String value1, String value2) {
            return notBetween(fieldValue, value1, value2);
        }
    }
}